<?php 
$page_id=$_GET['id'];
$row=Page::fetch_by_id($page_id);
eval(Common::define_var_from_array($row)); 
?>
<div class='sub_header'><?php echo $page_title?></div>
<div class='i-update' link='page=_page-update&id=<?php echo $page_id;?>'>	
	<?php echo $page_content;?>
</div>
<div class="h_line"></div>
<div class='s_block' id='right' style='float:left'>
	<div class='sub_header'>Các tin khác</div>		
	<div class='content'>
		<div class='y_block' >							
			<div class='content'>
				<ul id='left' style='margin-top:0px'>
				<?php
				$table=Db::mysql_query(" SELECT * FROM tbl_page WHERE page_group_id=3 AND page_status=1 AND page_focus=0 AND page_id<>$page_id ORDER BY RAND() LIMIT 6 ",FETCH_MODE_TABLE);
				foreach ($table as $key=>$row)
				{
					if($key==ceil(count($table)/2))
					{
					?>
					</ul>
					<ul id='right' style='margin-top:0px'>
					<?php
					} 
					?>
					<li><a href="index.php?page=tin-tuc&alias=<?php echo $row['page_alias'];?>&id=<?php echo $row['page_id'];?>"><?php echo $row['page_title'];?></a></li>
					<?php
				} 
				?>		
				</ul>							
				<div class='clear'></div>
				<div class='border_top'>
					<a href='index.php?page=thue' class='read_more title'>Xem tất cả</a>
				</div>
			</div>											
		</div>
	</div>
</div>